from selenium.webdriver.chrome.options import Options
from selenium import webdriver
import os

chrome_options = Options()
# chrome_options.add_argument('--headless')
# chrome_options.add_argument('--disable-gpu')

executable_path = os.path.join(os.getcwd(), 'libs', 'chromedriver')
print(executable_path)
driver = webdriver.Chrome(executable_path = executable_path, chrome_options = chrome_options)
print(driver)

driver.get('http://www.baidu.com')
